pkgname=device-sony-amami
pkgver=1
pkgrel=7
pkgdesc="Sony Xperia Z1 Compact"
url="https://github.com/postmarketOS"
arch="noarch"
license="MIT"
depends="linux-sony-amami"
makedepends=""
install=""
subpackages=""
source="deviceinfo 90-android.rules fb-workaround.sh"
options="!check"

build() {
	return 0
}

package() {
	install -D -m644 "$srcdir/deviceinfo" \
		"$pkgdir/etc/deviceinfo"
	install -D -m644 "$srcdir"/90-android.rules \
		"$pkgdir"/etc/udev/rules.d/90-android.rules
	install -D -m644 "$srcdir"/fb-workaround.sh \
		"$pkgdir"/etc/profile.d/fb-workaround.sh
}

sha512sums="69884f1eeaf2372cfcd81930581af0dbe2b4a9afab49de681150a68599b07b0ffeb088e0c1c85b55da93e7d465d153b31c2916bda03bd75fbea445d2d885bbe2  deviceinfo
1dd1196aa9abe0308a0841147e7e5c6eb50da742cfc3194b90ef22a62d034b43ddade70384b78ab38fa0177da5a822f2a40f1386f4ecd591e2ecc80cb679133a  90-android.rules
13f36f33cfae5e759b3889bc4e308324fd9bcf1cc7b097bbbe3646f1243b3bc06e1b1594cc8578c52c304a2b5006babd978c5b3f258769892e80552457889f99  fb-workaround.sh"
